#!/bin/sh
rm *.o
rm a.out
rm /mnt/ExecData/Workspace/laurin
rm laurin

g++ -c `pkg-config --cflags glibmm-2.4 libnl-1 gtkmm-2.4`  gui/laurin-*.cpp core/network/laurin-*.cpp core/laurin-*.cpp main.cpp -g
g++ `pkg-config --libs glibmm-2.4 gthread-2.0 libnl-1 gtkmm-2.4` *.o -g -lpcap -lnet

cp a.out /mnt/ExecData/Workspace/laurin
ln -s /mnt/ExecData/Workspace/laurin
